<?php

//mysqli_天龙八部：
$link=mysqli_connect('127.0.0.1', 'root', 'lisong');
mysqli_select_db($link,'wgf');
mysqli_set_charset($link,$char);
$sql="select * from callinfo where id=53;";
$re=mysqli_query($link,$sql);
while($row=mysqli_fetch_assoc($re)){//--返回关联数组//mysqli_fetch_row($re);--索引数组//mysqli_fetch_array($re)--索引+关联
	$arr[]=$row;
}
mysqli_free_result($re);
mysqli_close($link);


echo "<pre>";
print_r($arr);
echo "</pre>";
